<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src="resources/js/jquery-1.7.2.min.js"></script>
<script src="resources/js/jquery-ui-1.8.21.custom.min.js"></script>
<style type="text/css">
	.cbnu1{width:200px; height:200px; border:1px solid #000;}
	.cbnu2{width: 100px; height: 100px; border: 1px solid #ff0000;}
</style>
</head>
<body>
<div class="cbnu1">이동 기준이 될 요소</div>
<div class="cbnu2">이동될 요소</div>

<script type="text/javascript">
			$(function(){

				$(".cbnu2").position({
					of: ".cbnu1" ,
					my: "left",
					at: "left" , 
					offset: "50" 
				});
</script>
</body>
</html>